package rhc.spider.engine;

import rhc.spider.common.SpiderData;
import rhc.spider.crawler.Crawler;
import rhc.spider.engineExecuter.EngineExecuter;
import rhc.spider.request.Request;
import rhc.spider.request.Response;
import rhc.spider.setting.Setting;
import rhc.spider.signal.signalInterface.AddRequestSignal;
import rhc.spider.spider.Spider;

public interface Engine extends AddRequestSignal{

	void open();
	
	void close();

	Crawler getCrawler();
	
	Setting getSetting();
	
	EngineExecuter getEngineExecuter();

	void executeSpiderData(Spider spider,Request request,Response response,SpiderData data);
}
